#include<stdio.h>
int main()
{
	int year=0;
	scanf("%d",&year);
	if(year%4==0&&year%100!=0||year%400==0)
	printf("leap year\n");
	else
	printf("not leap year\n");

return 0;
}
